<?php
/**
 * 路由配置
 */
// 批量注册GET路由
think\Route::get([
    'index/news/:url'  =>  'index/news_list',
    'index/view/:id'  =>  ['Index/view',[],['id'=>'\d+']],
    'index/:url'  =>  'index/page',
]);
return [];
